{% extends "generalTemplate.html" %}
{% block queryScript %}
<link type="text/css" rel="stylesheet" href="/bvblogapp/static/css/bvblogapp.css"></link>

<script type="text/javascript" src="/static/js/webtoolkit.scrollabletable.js"></script>
<script type="text/javascript" src="http://code.jquery.com/jquery-latest.js"></script>
<script type="text/javascript" src="/static/js/webtoolkit.jscrollable.js"></script>

	<!--script type="text/javascript">
		jQuery(document).ready(function() {
			jQuery('table.scrollable').Scrollable(400, 900);
		});
 	</script-->

	<script type="text/javascript">
		jQuery(document).ready(function() {
			jQuery('table.scrollable').each(function() {
				if ($(this).height()>400) {
				$(this).wrap("<div style=\"width: 890px; height: 400px; padding: 1px; overflow-x:hidden; overflow-y:scroll;\"></div>");
				}
			})
		});
 	</script>


	
{% endblock %}
{% block headerStrip %} 
{% ifnotequal request.user.username username %} 
<div id="strip">
    <div id="strip_left">
        &nbsp; 
    </div>
</div>
{% else %}
<div id="strip">
    <div id="strip_left">
        <a href="{% url blog_index username %}" title="Analyses" class="menu_tab">Analyses</a>
        <a href="{% url blog_create username %}" title="Create new analysis" class="menu_tab">Create new analysis</a>
        {% block AdditionalLinks %}{% endblock %}
    </div>
</div>
{% endifnotequal %} 
{% endblock %}
